package com.maycur.ctrip.domain;

import com.maycur.ctrip.enumeration.PayType;
import org.apache.commons.lang3.StringUtils;

import java.math.BigDecimal;
import java.util.Date;

public class FlightOrder {
    private Integer id;

    private String orderId;

    private String journeyNo;

    private String entCode;

    private String uId;

    private String eId;

    private String eName;

    private BigDecimal consumeAmount;

    private String consumeCcy;

    private String orderStatus;

    private String auditedStatus;

    private BigDecimal giftCardAmount;

    private BigDecimal endorseAmount;

    private BigDecimal refundAmount;

    private BigDecimal cCardAmount;

    private BigDecimal postAmount;

    private BigDecimal insuranceAmount;

    private BigDecimal totalServiceAmount;

    private String purpose;

    private String payType;

    private Date orderedAt;

    private Date dealtAt;

    private Date printTicketAt;

    private String flightClass;

    private String flightWay;

    private String remark;

    private Integer preBookDays;

    private String costCenter1;

    private String costCenter2;

    private String costCenter3;

    private Boolean isSyncedToFee;

    private Date createdAt;

    private Date updatedAt;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getOrderId() {
        return orderId;
    }

    public void setOrderId(String orderId) {
        this.orderId = StringUtils.isEmpty(orderId)? null : orderId.trim();
    }

    public String getJourneyNo() {
        return journeyNo;
    }

    public void setJourneyNo(String journeyNo) {
        this.journeyNo = StringUtils.isEmpty(journeyNo)? null : journeyNo.trim();
    }

    public String getEntCode() {
        return entCode;
    }

    public void setEntCode(String entCode) {
        this.entCode = StringUtils.isEmpty(entCode)? null : entCode.trim();
    }

    public String getuId() {
        return uId;
    }

    public void setuId(String uId) {
        this.uId = StringUtils.isEmpty(uId)? null : uId.trim();
    }

    public String geteId() {
        return eId;
    }

    public void seteId(String eId) {
        this.eId = StringUtils.isEmpty(eId)? null : eId.trim();
    }

    public String geteName() {
        return eName;
    }

    public void seteName(String eName) {
        this.eName = StringUtils.isEmpty(eName)? null : eName.trim();
    }

    public BigDecimal getConsumeAmount() {
        return consumeAmount;
    }

    public void setConsumeAmount(BigDecimal consumeAmount) {
        this.consumeAmount = consumeAmount;
    }

    public String getConsumeCcy() {
        return consumeCcy;
    }

    public void setConsumeCcy(String consumeCcy) {
        this.consumeCcy = StringUtils.isEmpty(consumeCcy)? null : consumeCcy.trim();
    }

    public String getOrderStatus() {
        return orderStatus;
    }

    public void setOrderStatus(String orderStatus) {
        this.orderStatus = StringUtils.isEmpty(orderStatus)? null : orderStatus.trim();
    }

    public String getAuditedStatus() {
        return auditedStatus;
    }

    public void setAuditedStatus(String auditedStatus) {
        this.auditedStatus = StringUtils.isEmpty(auditedStatus)? null : auditedStatus.trim();
    }

    public BigDecimal getGiftCardAmount() {
        return giftCardAmount;
    }

    public void setGiftCardAmount(BigDecimal giftCardAmount) {
        this.giftCardAmount = giftCardAmount;
    }

    public BigDecimal getEndorseAmount() {
        return endorseAmount;
    }

    public void setEndorseAmount(BigDecimal endorseAmount) {
        this.endorseAmount = endorseAmount;
    }

    public BigDecimal getRefundAmount() {
        return refundAmount;
    }

    public void setRefundAmount(BigDecimal refundAmount) {
        this.refundAmount = refundAmount;
    }

    public BigDecimal getcCardAmount() {
        return cCardAmount;
    }

    public void setcCardAmount(BigDecimal cCardAmount) {
        this.cCardAmount = cCardAmount;
    }

    public BigDecimal getPostAmount() {
        return postAmount;
    }

    public void setPostAmount(BigDecimal postAmount) {
        this.postAmount = postAmount;
    }

    public BigDecimal getInsuranceAmount() {
        return insuranceAmount;
    }

    public void setInsuranceAmount(BigDecimal insuranceAmount) {
        this.insuranceAmount = insuranceAmount;
    }

    public BigDecimal getTotalServiceAmount() {
        return totalServiceAmount;
    }

    public void setTotalServiceAmount(BigDecimal totalServiceAmount) {
        this.totalServiceAmount = totalServiceAmount;
    }

    public String getPurpose() {
        return purpose;
    }

    public void setPurpose(String purpose) {
        this.purpose = StringUtils.isEmpty(purpose)? null : purpose.trim();
    }

    public String getPayType() {
        return payType;
    }

    public void setPayType(String payType) {
        this.payType = StringUtils.isEmpty(payType)? null : payType.trim();
    }

    public Date getOrderedAt() {
        return orderedAt;
    }

    public void setOrderedAt(Date orderedAt) {
        this.orderedAt = orderedAt;
    }

    public Date getDealtAt() {
        return dealtAt;
    }

    public void setDealtAt(Date dealtAt) {
        this.dealtAt = dealtAt;
    }

    public Date getPrintTicketAt() {
        return printTicketAt;
    }

    public void setPrintTicketAt(Date printTicketAt) {
        this.printTicketAt = printTicketAt;
    }

    public String getFlightClass() {
        return flightClass;
    }

    public void setFlightClass(String flightClass) {
        this.flightClass = StringUtils.isEmpty(flightClass)? null : flightClass.trim();
    }

    public String getFlightWay() {
        return flightWay;
    }

    public void setFlightWay(String flightWay) {
        this.flightWay = StringUtils.isEmpty(flightWay)? null : flightWay.trim();
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = StringUtils.isEmpty(remark)? null : remark.trim();
    }

    public Integer getPreBookDays() {
        return preBookDays;
    }

    public void setPreBookDays(Integer preBookDays) {
        this.preBookDays = preBookDays;
    }

    public String getCostCenter1() {
        return costCenter1;
    }

    public void setCostCenter1(String costCenter1) {
        this.costCenter1 = StringUtils.isEmpty(costCenter1)? null : costCenter1.trim();
    }

    public String getCostCenter2() {
        return costCenter2;
    }

    public void setCostCenter2(String costCenter2) {
        this.costCenter2 = StringUtils.isEmpty(costCenter2)? null : costCenter2.trim();
    }

    public String getCostCenter3() {
        return costCenter3;
    }

    public void setCostCenter3(String costCenter3) {
        this.costCenter3 = StringUtils.isEmpty(costCenter3)? null : costCenter3.trim();
    }

    public Boolean getSyncedToFee() {
        return isSyncedToFee;
    }

    public void setSyncedToFee(Boolean syncedToFee) {
        isSyncedToFee = syncedToFee;
    }

    public Date getCreatedAt() {
        return createdAt;
    }

    public void setCreatedAt(Date createdAt) {
        this.createdAt = createdAt;
    }

    public Date getUpdatedAt() {
        return updatedAt;
    }

    public void setUpdatedAt(Date updatedAt) {
        this.updatedAt = updatedAt;
    }
}
